-
Notifications
You must be signed in to change notification settings - Fork 515
agentcore memory browser #422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| } | ||
|
|
||
| // Get current AWS region | ||
| let region = 'us-east-1'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like its hard coded, please confirm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed the hardcode logic
...AgentCore-memory/03-advanced-patterns/03-memory-browser/src/components/LongTermMemoryForm.js
Outdated
Show resolved
Hide resolved
01-tutorials/04-AgentCore-memory/03-advanced-patterns/03-memory-browser/backend/app.py
Fixed
Show fixed
Hide fixed
| return { | ||
| "memory_id": memory_id, | ||
| "namespaces": found_namespaces, | ||
| "total_found": len(found_namespaces), | ||
| "method": "fallback_pattern_based", | ||
| "message": f"Found {len(found_namespaces)} namespaces using fallback method (get_memory_strategies failed: {str(e)})" | ||
| } |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eliminated all information exposure through exceptions
01-tutorials/04-AgentCore-memory/03-advanced-patterns/03-memory-browser/backend/app.py
Fixed
Show fixed
Hide fixed
| return { | ||
| "valid": False, | ||
| "memory_id": query.memory_id, | ||
| "accessible": False, | ||
| "message": f"Memory ID validation failed: {str(e)}" | ||
| } |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eliminated all information exposure through exceptions
|
Latest scan for commit: Security Scan ResultsScan Metadata
SummaryScanner ResultsThe table below shows findings by scanner, with status based on severity thresholds and dependencies: Column Explanations: Severity Levels (S/C/H/M/L/I):
Other Columns:
Scanner Results:
Severity Thresholds (Thresh Column):
Threshold Source: Values in parentheses indicate where the threshold is configured:
Statistics calculation:
Detailed FindingsShow 1 actionable findingsFinding 1: B104
Description: Code Snippet: Report generated by Automated Security Helper (ASH) at 2025-10-17T19:19:17+00:00 |
3fa6c02 to
7a40903
Compare
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
d50e194 to
c42af18
Compare
| return { | ||
| "memories": [], | ||
| "total_count": 0, | ||
| "source": "list_memory_records", | ||
| "error": f"Failed to access namespace '{query.namespace}': {clean_error}" | ||
| } |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Stack trace information
| return { | ||
| "namespaces": [], | ||
| "total_found": 0, | ||
| "error": f"Both get_memory_strategies and fallback failed: {clean_aws_error_message(str(e))} / {clean_aws_error_message(str(e2))}" | ||
| } |
Check warning
Code scanning / CodeQL
Information exposure through an exception Medium
Amazon Bedrock AgentCore Samples Pull Request
Important
review readylabel to it. Only PRs withreview readywill be reviewed.Issue number:
Concise description of the PR
User experience
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.